@echo off
java -jar closure_compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js jse.js --js_output_file jse.min.js --warning_level VERBOSE

IF ERRORLEVEL 1 GOTO End

REM echo Finished compiling, compiling again this time prettifying...
REM java -jar closure_compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js jse.js --js_output_file jse.min.pretty.js --warning_level VERBOSE --formatting PRETTY_PRINT

:End
echo Finished
pause